import request from './api';

//新增动态
function boardAdd(params) {
  return request('/friend_message/add', params, 'post')
}

// 新增评论
function addComments(params) {
  return request('/friend_message/addComments', params, 'post')
}
// 查询动态
function boardList(params) {
  return request('/friend_message/list', params, 'GET')
}
// 动态删除
function boardDeleteMessage(params) {
  return request('/friend_message/deleteMessage', params, 'post')
}
// 删除评论
function boardDeleteComments(params) {
  return request('/friend_message/deleteComments', params, 'post')
}
export {
	boardAdd,
	addComments,
	boardList,
	boardDeleteMessage,
	boardDeleteComments
}